package com.wy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wy.entity.GoodsLogistics;

/**
 * @Author:王渝
 * @Date: 2022/11/30  11:10
 * @Version 1.0
 */
public interface GoodsLogisticsService extends IService<GoodsLogistics> {

    /**
     * 确认收货
     * @param orderId 订单编号
     * @return
     */
    boolean receive(Long orderId);

    /**
     * 15天自动收货
     */
    void autoReceive();
}
